#include<stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include<string.h>
#include<unistd.h>

int main()
{
    int fd=open("bite",O_WRONLY|O_CREAT|O_TRUNC,0666);
    char*str="i like linux!\n";
    write(fd,str,strlen(str));
    close(fd);

    return 0;
}
